﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucAdminItems.ascx.cs" Inherits="Website.uc.ucAdminItems" %>
<asp:GridView ID="gridItems" runat="server" Width="90%" BackColor="White" 
    BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
    ForeColor="Black" GridLines="Horizontal" AutoGenerateColumns="False" 
    DataKeyNames="ItemId" onrowdeleting="gridItems_RowDeleting" 
    onselectedindexchanging="gridItems_SelectedIndexChanging">
    <Columns>
        <asp:BoundField DataField="ItemId" HeaderText="ItemId" />
        <asp:BoundField DataField="ItemTitle" HeaderText="ItemTitle" />
        <asp:BoundField DataField="ItemDescription" HeaderText="ItemDescription" />
        <asp:BoundField DataField="BidStatus" HeaderText="BidStatus" />
        <asp:BoundField DataField="BidStartDate" HeaderText="BidStartDate" />
        <asp:BoundField DataField="BidEndDate" HeaderText="BidEndDate" />
        <asp:BoundField DataField="BidIncremenent" HeaderText="BidIncremenent" />
        <asp:BoundField DataField="Minimumbid" HeaderText="Minimumbid" />
        <asp:BoundField DataField="CateName" HeaderText="CateName" />
        <asp:TemplateField HeaderText="Photo">
            <ItemTemplate>
                <asp:Image ID="Image1" runat="server" Height="50px" 
                    ImageUrl='<%# Eval("ItemImage") %>' Width="50px" />
            </ItemTemplate>
        </asp:TemplateField>
        <asp:CommandField ShowSelectButton="True" />
        <asp:CommandField ShowDeleteButton="True" />
    </Columns>
    <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
    <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
    <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
    <SortedAscendingCellStyle BackColor="#F7F7F7" />
    <SortedAscendingHeaderStyle BackColor="#4B4B4B" />
    <SortedDescendingCellStyle BackColor="#E5E5E5" />
    <SortedDescendingHeaderStyle BackColor="#242121" />
</asp:GridView>

